package top.suven.http.oauth.vo.request;


import top.suven.base.http.JsonParse;
import top.suven.base.http.processor.url.URLCommand;
import top.suven.base.util.createcode.DocDesc;
import top.suven.http.oauth.vo.response.AuthorizeResponseVo;

/**
 * @ClassName:
 * @Description:
 * @Author lixiangling
 * @Date 2018/5/15 18:03
 * @Copyright: (c) 2018 gc by https://www.gc.com.cn/
 * @Version : 1.0.0
 */
@DocDesc(desc = "Oauth2.0接口",url = URLCommand.auth_get_auth_code, body = AuthorizeResponseVo.class)
public class OauthRequestVo extends JsonParse {
//    public static final String REQUEST_USERNAME = "username";
//    public static final String REQUEST_PASSWORD = "password";
//
//    public static final String REQUEST_USER_OAUTH_APPROVAL = "user_oauth_approval";
//
//    public static final String OAUTH_LOGIN_VIEW = "oauth_login";
//    public static final String OAUTH_APPROVAL_VIEW = "oauth_approval";


    private String username;
    private String password;
    private String authorization_code;
    private String user_oauth_approval;
    private String oauth_login;
    private String oauth_approval;
    private String scope;//scope=read,write

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUser_oauth_approval() {
        return user_oauth_approval;
    }

    public void setUser_oauth_approval(String user_oauth_approval) {
        this.user_oauth_approval = user_oauth_approval;
    }

    public String getOauth_login() {
        return oauth_login;
    }

    public void setOauth_login(String oauth_login) {
        this.oauth_login = oauth_login;
    }

    public String getOauth_approval() {
        return oauth_approval;
    }

    public void setOauth_approval(String oauth_approval) {
        this.oauth_approval = oauth_approval;
    }

    public String getAuthorization_code() {
        return authorization_code;
    }

    public void setAuthorization_code(String authorization_code) {
        this.authorization_code = authorization_code;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
